Testing unrolling optimization technique for quasi random numbers
نویسندگان
چکیده
Quasi Monte Carlo simulations are built on quasi random number generator (QRNG). Even if the use of a QRNG might lead to a faster convergence, for example with Monte Carlo integral computation, most of the simulation time can be taken by the number generation part. This paper present an optimization technique, called “unrolling” applied to QRNG. It consists in the generation and storage of random numbers in a compiled binary object file. After that, the library is used at the execution time by the simulator. We obtained good gains with “Unrolling” technique and QRNG, allowing a minimum gain factor of 4 on different computer architectures compared to the Sobol algorithm.
منابع مشابه
Faster Quasi Random Number Generator for Most Monte Carlo Simulations
Generating quasi-random sequences for Monte Carlo simulations has been proved of interest when comparing results with numbers coming from conventional pseudorandom sequences. Despite a fair amount of sound theoretical work on random number generation algorithms, theoretical gain is often eradicated by poor computer implementations. Recently, one of the authors of this paper showed that massive ...
متن کاملOptimization of Quasi Random Number Generators
Monte Carlo simulations are based on Random Number Generators (RNG). Drawing random numbers often constitutes a considerable part of simulation time. Unrolling random numbers is a way to accelerate Monte Carlo simulations appreciably by speeding up any RNG. This method consists in a pre-generation and storage of random numbers in an array of values. This array is either directly included in the...
متن کاملBenchmark of the Unrolling of Pseudorandom Numbers Generators
Research software involving stochastic behaviour often requires an enormous quantity of random numbers. In addition to the quality of the pseudorandom number generator (PRNG), the speed of the algorithm and the ease of its implementation are common practical aspects. In this work we will discuss how to optimize the access speed to random numbers independently from the generation algorithm using...
متن کاملEstimation of Software Reliability by Sequential Testing with Simulated Annealing of Mean Field Approximation
Various problems of combinatorial optimization and permutation can be solved with neural network optimization. The problem of estimating the software reliability can be solved with the optimization of failed components to its minimum value. Various solutions of the problem of estimating the software reliability have been given. These solutions are exact and heuristic, but all the exact approach...
متن کاملExtending Loop Unrolling and Shifting for Reconfigurable Architectures
Loops are an important source of optimization. In this paper, we propose an extension to our work on loop unrolling and loop shifting for reconfigurable architectures. By applying unrolling and shifting to a small loop containing a hardware kernel and some software code, we relocate the function calls contained in the loop body such that in every iteration of the transformed loop, software func...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005